package vektormodell;

import java.util.ArrayList;
import java.util.HashMap;

public class Document {

	private int id;
	private String title;
	private String author;
	private String content;
	private ArrayList<String> tokenizedContent;
	private HashMap<String, Integer> wordFrequencies;
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;
	}
	
	public String getTitle(){
		return title;
	}
	
	public void setTitle(String title){
		this.title = title.trim();
	}
	
	public String getAuthor(){
		return author;
	}
	
	public void setAuthor(String author){
		this.author = author.trim();
	}
	
	public String getContent(){
		return content;
	}
	
	public void setContent(String content){
		this.content = content.trim();
	}
	
	public void setTokenizedContent(ArrayList<String> tokenizedContent){
		this.tokenizedContent = tokenizedContent;
	}
	
	public ArrayList<String> getTokenizedContent(){
		return tokenizedContent;
	}
	
	public void setWordFrequencies(HashMap<String,Integer> wordFrequencies){
		this.wordFrequencies = wordFrequencies;
	}
	
	public HashMap<String, Integer> getWordFrequencies(){
		return wordFrequencies;
	}
	
	
	public static void main(String[] args) {
		

	}

}
